package com.yeqifu.bus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeqifu.bus.entity.Goods;
import com.yeqifu.bus.entity.GoodsDate;
import com.yeqifu.bus.entity.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * InnoDB free: 9216 kB; (`providerid`) REFER `warehouse/bus_provider`(`id`) Mapper 接口
 * </p>
 *
 * @author 艾琦
 * @since 2020-12-06
 */
public interface TypeMapper extends BaseMapper<Type> {
     /*
    * 查询这个商品有没有已经存在
     * @return */
    List<Type> searchexist(@Param("type") String type);
    List<Type> searchalltype();
    void  deletetypebyid(@Param("id") Integer id);
}
